|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DB | |
---|---|
org.apache.torque | Torque is an object-relational mapper for Java. |
org.apache.torque.adapter | Adapters between Torque and various databases. |
org.apache.torque.avalon | Avalon component implementation. |
org.apache.torque.oid | The ID broker, an API to provide persistent object identifiers, as described by Scott Ambler's paper on "Enterprise-Ready Object IDs". |
org.apache.torque.util | Misc. |
Uses of DB in org.apache.torque |
---|
Methods in org.apache.torque that return DB | |
---|---|
DB |
Database.getAdapter()
Returns the adapther to this database. |
static DB |
Torque.getDB(java.lang.String name)
Returns database adapter for a specific connection pool. |
DB |
TorqueInstance.getDB(java.lang.String name)
Returns the database adapter for a specific database. |
Methods in org.apache.torque with parameters of type DB | |
---|---|
void |
Database.setAdapter(DB anAdapter)
Sets the adapter for this database. |
Uses of DB in org.apache.torque.adapter |
---|
Classes in org.apache.torque.adapter that implement DB | |
---|---|
class |
AbstractDBAdapter
This class is the abstract base for any database adapter Support for new databases is added by subclassing this class and implementing its abstract methods, and by registering the new database adapter and its corresponding JDBC driver in the service configuration file. |
class |
DBAxion
This is used to connect to Hypersonic SQL databases. |
class |
DBCloudscape
This is used to connect to Cloudscape SQL databases. |
class |
DBDB2400
Torque Database Adapter for DB2/400 on the IBM AS400 platform. |
class |
DBDB2App
This is used to connect via the Application-Driver to DB2 databases. |
class |
DBDB2Net
This is used to connect via the NET-Driver to DB2 databases. |
class |
DBDerby
This is used to connect to an embedded Apache Derby Database using the supplied JDBC driver. |
class |
DBFirebird
This code should be used for a Firebird database pool. |
class |
DBHypersonicSQL
This is used to connect to Hypersonic SQL databases. |
class |
DBInformix
This code should be used for an Informix database pool. |
class |
DBInstantDB
This is used to connect to InstantDB databases. |
class |
DBInterbase
This code should be used for an Interbase database pool. |
class |
DBMM
This is used in order to connect to a MySQL database using the MM drivers. |
class |
DBMSSQL
This is used to connect to a MSSQL database. |
class |
DBNone
This DatabaseHandler is used when you do not have a database installed. |
class |
DBOdbc
This is used to connect to ODBC Bridged databases on Win32 Platforms. |
class |
DBOracle
This code should be used for an Oracle database pool. |
class |
DBPostgres
This is used to connect to PostgresQL databases. |
class |
DBSapDB
This is used to connect to SapDB databases. |
class |
DBSybase
This is used to connect to a Sybase database using Sybase's JConnect JDBC driver. |
class |
DBWeblogic
This code should be used for a Weblogic database pool. |
Methods in org.apache.torque.adapter that return DB | |
---|---|
static DB |
DBFactory.create(java.lang.String key)
Creates a new instance of the Torque database adapter associated with the specified JDBC driver or adapter key. |
static DB |
DBFactory.create(java.lang.String key,
java.lang.String className)
Creates a new instance of the Torque database adapter associated with the specified JDBC driver or adapter key and the class defined. |
Uses of DB in org.apache.torque.avalon |
---|
Methods in org.apache.torque.avalon that return DB | |
---|---|
DB |
Torque.getDB(java.lang.String name)
Returns database adapter for a specific connection pool. |
Uses of DB in org.apache.torque.oid |
---|
Methods in org.apache.torque.oid with parameters of type DB | |
---|---|
static IdGenerator |
IDGeneratorFactory.create(DB dbAdapter,
java.lang.String name)
Factory method which instantiates IdGenerator implementations based on the
return value of the provided adapter's getIDMethodType() method. |
Constructors in org.apache.torque.oid with parameters of type DB | |
---|---|
AutoIncrementIdGenerator(DB dbAdapter,
java.lang.String name)
Creates an IdGenerator which will work with the specified database. |
|
SequenceIdGenerator(DB dbAdapter,
java.lang.String name)
Creates an IdGenerator which will work with the specified database. |
Uses of DB in org.apache.torque.util |
---|
Methods in org.apache.torque.util that return DB | |
---|---|
DB |
Criteria.Criterion.getDb()
Get the value of db. |
Methods in org.apache.torque.util with parameters of type DB | |
---|---|
static java.lang.String |
SqlExpression.build(java.lang.String columnName,
java.lang.Object criteria,
SqlEnum comparison,
boolean ignoreCase,
DB db)
Builds a simple SQL expression. |
static void |
SqlExpression.build(java.lang.String columnName,
java.lang.Object criteria,
SqlEnum comparison,
boolean ignoreCase,
DB db,
java.lang.StringBuffer whereClause)
Builds a simple SQL expression. |
static java.lang.String |
SqlExpression.buildInnerJoin(java.lang.String column,
java.lang.String relatedColumn,
boolean ignoreCase,
DB db)
Used to specify a join on two columns. |
static void |
SqlExpression.buildInnerJoin(java.lang.String column,
java.lang.String relatedColumn,
boolean ignoreCase,
DB db,
java.lang.StringBuffer whereClause)
Used to specify a join on two columns. |
static void |
JoinBuilder.processJoins(DB db,
DatabaseMap dbMap,
Criteria criteria,
Query query)
adds the Joins from the criteria to the query |
static java.lang.String |
SqlExpression.quoteAndEscapeText(java.lang.String rawText,
DB db)
Quotes and escapes raw text for placement in a SQL expression. |
void |
Criteria.Criterion.setDB(DB v)
Set the value of db. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |